import { Prisma } from '@prisma/client'

// 定义常用的类型
export type TripWithDetails = Prisma.TripGetPayload<{
  include: {
    activities: {
      include: {
        destination: true;
      };
    };
    user: {
      select: {
        name: true;
        username: true;
      };
    };
  };
}>;

export type ActivityWithDestination = Prisma.ActivityGetPayload<{
  include: {
    destination: true;
  };
}> 